]> dgit.raspbian.org Git - gnome-shell.git/commit
slider: Consider text direction when handling arrow keys
authorSundeep Mediratta <smedius@gmail.com>
Wed, 9 Oct 2024 17:17:30 +0000 (13:17 -0400)
committerSundeep Mediratta <smedius@gmail.com>
Sat, 12 Oct 2024 11:06:24 +0000 (11:06 +0000)
commit5309f747fad23ebc707870868016f0414776e59c
tree0a1c290673e1a61b47a612c0fdd98da130e6fef9
parentab46e89171776e45ec42d98249643389764e0d02
slider: Consider text direction when handling arrow keys

Currently the right arrow key always increases the slider value,
even in RTL locales where the slider itself increases leftwards.

Fix that, so that the arrow keys always correspond to the
direction of the slider.

Closes https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7963

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3500>
js/ui/slider.js